Skip to content

Tensor ops splitup#120

Merged
marcelluethi merged 5 commits into
dimwit-dev:mainfrom
marcelluethi:tensor-ops-splitup
Jun 24, 2026
Merged

Tensor ops splitup#120
marcelluethi merged 5 commits into
dimwit-dev:mainfrom
marcelluethi:tensor-ops-splitup

Conversation

@marcelluethi

Copy link
Copy Markdown
Contributor

This PR proposes to split TensorOps into several files.

  • ContractionOps
  • ConvolutionOps
  • ElementWiseOps
  • FunctionalOps
  • LinearAlgebraOps
  • ReductionOps
  • StructuralOps
  • Tensor{1/2/3}Ops
  • TensorOpsUtils
  • ValueOps

The (extension) methods defined in the corresponding objects are reexported in TensorOps

ValueOps are no longer exported as part of TensorOps but exported separately in package.scala.

There is no new functionality introduced with the PR, its just a refactoring. Furthermore, it still contains many unused imports and it is not commented yet.

This PR is meant as an intermediate step to fix the structure before we continue with the cleanup.

@marcelluethi marcelluethi requested a review from benikm91 June 23, 2026 19:05

@benikm91 benikm91 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for the clean up!

@marcelluethi marcelluethi merged commit 560b8af into dimwit-dev:main Jun 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants